<%@ page language="java" import="java.util.*,cn.ac.cintcm.dataconverge.researchsubject.domain.*, cn.ac.cintcm.dataconverge.researcher.domain.*" pageEncoding="UTF-8"%>
<%@page import="cn.ac.cintcm.dataconverge.util.Constants"%>
<%@page import="com.hs.core.page.PageUtil,com.hs.core.utils.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Subject subject = (Subject)request.getAttribute("subject");
Researcher researcher = (Researcher)request.getAttribute("researcher");
ResmanSubjectExpert expertRecord = (ResmanSubjectExpert)request.getAttribute("expertRecord");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><%=Constants.APP_TITLE %></title>  
    <link href="<%=path%>/index/Themes/com/style.css" rel="stylesheet" type="text/css" /> 
    <script src="<%=path%>/index/Scripts/Script.js" language="javascript" type="text/javascript"></script>
    <script src="<%=path%>/js/common.js" language="javascript" type="text/javascript"></script>
   

</head>
<body class="idt_body" scroll="yes">
<form name="form1" action="<%=path %>/checkManage.htm?action=expertSave" method="post">
    <table cellpadding="0" cellspacing="0" width="100%" height="100%" id="Table8">
        <tr>
            <td>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" id="Table5">
                    <tr>
                        <td class="idt_top_l">
                        </td>
                        <td class="idt_top_m"> 
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" height="100%">
                            <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" id="Table11">
                                <tr>
                                    <td class="idt_main_m">
                                        <!------------------ 标题栏 ------------------>
                                        <!--- 标题 ---->
                                        <table class="idt_tle_mg" cellspacing="0" cellpadding="0" width="100%">
                                            <tr onclick="javascript:OnShow(tdForm,imgForm6);">
                                                <td class="idt_tle_i">
                                                    <img id="imgForm6" src="<%=path%>/index/Themes/com/idt_tle_o.gif"></td>
                                                <td class="idt_tle_f1">
                                                    课题评审</td>
                                            </tr>
                                        </table>
                                        <!--- 内容 --->
                                        <div id="tdForm">
                                            <table border="0" cellpadding="0" cellspacing="1" width="100%" class="com_fieldset_tab">
                                                <tr>
                                                    <td class="fim_l">
                                                        课题名称：</td>
                                                    <td class="fim_r" colspan="3">
                                                    <input type="hidden" name="subjectid" value="<%=subject.getId() %>"/>
                                                    <input type="hidden" name="searcherId" value="<%=researcher.getIds() %>"/>
                                                    <input type="hidden" name="expertRecordId" value="<%=expertRecord == null?"":expertRecord.getId()%>"/>
                                                    <a href="javaScript:openwindow('<%=path %>/subjectToAdd.htm?action=viewSubject&id=<%=subject.getId() %>','','','');"><%=subject.getSubjectname() %></a>
                                                    </td> 
                                                </tr>
                                                 <tr>
                                                    <td class="fim_l">评审结果</td>
                                                    <td class="fim_r">
                                                    <select name="expertResult">
                                                    	<option value="1" <%if(null == expertRecord || "1".equals(expertRecord.getExpertResult())){ out.println(" selected");} %>>不通过</option>
                                                    	<option value="2" <%if(null != expertRecord && "2".equals(expertRecord.getExpertResult())){ out.println(" selected");} %>>通过</option>
                                                    </select>
                                                    </td>
                                                    <td class="fim_l">评审状态</td>
                                                    <td class="fim_r"><%if(null != expertRecord && "1".equals(expertRecord.getAuditstatus()+"")){out.println("<font color=red>已评审</font>");}else{out.println("<font color=red>未评审</font>");} %></td>
                                                </tr>  
                                                <tr>
                                                    <td class="fim_l">评审意见</td>
                                                    <td class="fim_r" colspan="3">
                                                    <textarea rows="15" cols="" name="expertopinion" style="width:100%;overflow-x :visible;overflow-y:visible;"><%=StringUtilTool.NULL2Blank(expertRecord.getExpertOpinion())%></textarea>
                                                    </td> 
                                                </tr>        
                                                <tr>
                                                    <td class="fim_l">
                                                        评审专家：</td>
                                                    <td class="fim_r">
                                                        <%=researcher.getName() %>
                                                    <td class="fim_l">
                                                        评审时间：</td>
                                                    <td class="fim_r"><%=Tools.getDateStr() %></td>
                                                </tr> 
                                                 </table> 
                                        </div>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
 </form>
</body>
</html>

